home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000181_news@watsun.cc.columbia.edu _Tue Feb 2 13:20:30 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA29603
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 2 Feb 1999 13:20:26 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA08524
for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Feb 1999 13:07:32 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: Janko Dimitroff <janko@cs.tu-berlin.de>
Subject: Serial Line
Date: 2 Feb 1999 18:07:11 GMT
Organization: Technical University of Berlin, Germany
Message-ID: <797esf$k18$1@news.cs.tu-berlin.de>
To: kermit.misc@mailrelay2.cc.columbia.edu
I have a problem using kermit.
I want to communicate with a device which is plugged in the serial line.
I wrote a script which is able to establish a connection to the device.
Now the device sends data. How can I check these data, read it to variables
and so on.
I want to send data to the device if a string containing a special substring
was received by the computer.
On account of the fact that I do not know exactly what data (only a substring) comes in I can not use INPUT or MINPUT.
Can I just wait for \n ?
How is data handled by INPUT/MINPUT if it does not match with the given text ?
You understood my problem hopefully and have a solution.
If so, I'd be glad if you send it to me.
mail to:
jadi@gfz-potsdam.de